package com.zhejiangzhengyuan.municipal_common.entity.vo;

import com.alibaba.excel.annotation.ExcelProperty;
import com.alibaba.excel.annotation.format.DateTimeFormat;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import java.util.Date;
/**
 * @author :linju
 * @create on : 2019/11/26
 */
@Data
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="CaseNoHandle对象", description="用于对案件管理中，案件状态在未处理的查询的结果封装")
public class CaseNoHandle extends Model<CaseNoHandle> {

    @ApiModelProperty(value = "案件管理主键")
    @TableId(value = "id",type = IdType.AUTO)
    private Long id;

    @ApiModelProperty(value = "警报id")
    private Long wid;

    @ApiModelProperty(value = "设备id")
    private Long deviceKey;

    @ApiModelProperty(value = "案件id")
    private Long cid;

    @ExcelProperty(value = "设备编号")
    @ApiModelProperty(value = "设备编号")
    private String deviceCode;

    @ExcelProperty(value = "设备名称")
    @ApiModelProperty(value = "设备名称")
    private String name;

    @ExcelProperty(value = "数据来源")
    @ApiModelProperty(value = "数据来源")
    private String dataOrigin;

    @ExcelProperty(value = "位置")
    @ApiModelProperty(value = "位置")
    private String geomDes;

    private String grade;

    private String type;

    @ExcelProperty(value = "位置")
    @ApiModelProperty(value = "位置")
    private String location;

    @ExcelProperty(value = "异常状态")
    @ApiModelProperty(value = "异常状态")
    private String reason;

    @ExcelProperty(value = "上报时间")
    @DateTimeFormat("yyyy年MM月dd日HH时mm分ss秒")
    @ApiModelProperty(value = "上报时间")
    private Date createTime;

    @ExcelProperty(value = "上报人")
    @ApiModelProperty(value = "上报人")
    private String username;

    @ExcelProperty(value = "警报等级")
    @ApiModelProperty(value = "警报等级")
    private String level;

    @ExcelProperty(value = "案件描述")
    @ApiModelProperty(value = "案件描述")
    private String caseDescribe;

    @ExcelProperty(value = "处理意见")
    @ApiModelProperty(value = "处理意见")
    private String advice;

    @ApiModelProperty(value = "附件")
    private String link;

    @ExcelProperty(value = "文件名字")
    @ApiModelProperty(value = "文件名字")
    private String originName;

    @ExcelProperty(value = "备注")
    @ApiModelProperty(value = "备注")
    private String remark;

}
